package com.campsys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campsys.entity.Class;
import com.campsys.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClassMapper extends BaseMapper<Class> {
    @Select("SELECT id, name FROM t_manager_class")
    List<Class> getClasses();
}
